package com.lucian.ge.service.shop;

import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by Lucicol on 2019/8/14.
 */
public interface PartnerService {
    List<Map<String,String>> selectIncome(Integer userId);

    List<Map<String,String>> selectRecharge(Integer userId);

    List<Map<String,String>> selectProfit(Integer userId);

    //查询是否有合伙人这个ID
    String selectUserId(Integer userId);

    //添加合伙人信息
    void insertUserId(Integer userId,String mingzi,String shouji,String weixin,String shenfenzheng);

    //查询可提现余额
    String selectYuE(Integer userId);

    //申请提现
    void insertTiXian(Integer userId,String tixianjine, String name, String tixianhao);

    //查询已结算余额
    String selectJieSuan(Integer userId);

    //查询订单,客户付款金额,佣金
    List<Map<String,String>> selectDinDan(Integer userId,Integer timerang);

    //提现记录
    List<Map<String,String>> drawRecords(Integer userId);

    //查询下级收益信息
    List<Map<String,String>> selectXiaJiShouYi(Integer userId, Integer timerang);
}